/**
 * 
 */
package org.softTank.BC.rs.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Yuzone
 *
 */
@XmlRootElement(name = "category")
public class CategoryBean {

	private String name;
	private String key;
	private Long id;
	private String isBranch;
	private List<PartnerLinkTypeBean> partnerLinkType;
	private List<ServiceBean> service;

	@XmlAttribute
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlAttribute
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	@XmlAttribute
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@XmlAttribute
	public String getIsBranch() {
		return isBranch;
	}

	public void setIsBranch(String isBranch) {
		this.isBranch = isBranch;
	}

	@XmlElement
	public List<PartnerLinkTypeBean> getPartnerLinkType() {
		return partnerLinkType;
	}

	public void setPartnerLinkType(List<PartnerLinkTypeBean> partnerLinkType) {
		this.partnerLinkType = partnerLinkType;
	}

	public List<ServiceBean> getService() {
		return service;
	}

	public void setService(List<ServiceBean> service) {
		this.service = service;
	}
}
